package com.yl.auth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.model.entity.ExcelDictDTO;
import com.yl.auth.model.entity.Yexun;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yl.auth.model.entity.YexunXiao;
import com.yl.auth.model.vo.YexunVo;
import com.yl.auth.model.vo.YexundizhirenyuanVo;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ln
 * @since 2023-06-15
 */
public interface YexunService extends IService<Yexun> {

    /**
     * 夜巡管理分页添加查询
     * @param iPage
     * @param sname
     * @param sdizhiname
     * @param sinspectiontime
     * @param sinspectionstatus
     * @return
     */
    public Page<YexundizhirenyuanVo> getPageVo(Page<YexundizhirenyuanVo> iPage,String sname,String sdizhiname,String sinspectiontime,Integer sinspectionstatus);

    /**
     * 导出
     * @return
     */
    List<ExcelDictDTO> listDictData();

    List<YexunVo> getyexuns(String sname, String sdizhiname, String sinspectiontime, Integer sinspectionstatus);

    List<YexunVo> getxiaoyexuns(Integer id);

    List<YexunVo> getyexuntime();

    List<YexunVo> getyexundizhi();


    List<YexunVo> getzhaungtai(Integer sinspectionstatus);

    void save(YexunXiao yexunXiao);
}
